a = 3
b = 2
print(a + b)
print(a - b)
print(a * b)
print(a / b)
#取整
print(a // b)
#取余
print(a % b)
#指数
print(a ** b)
print((4+2)*2)

#字符串加法，是进行拼接的
c = '123'
d = '456'
print(c+d)

#字符串不能和整型直接相加
a1 = '123'
b1 = 456
#print(a1+b1)
print(a1+str(b1))

#字符串的乘法
a2 = '大数据'
print(a2 * 3)